package com.gp.pj.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Chloe
 * @since 2020-12-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_menu")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 菜单名(vue)
     */
    private String name;

    /**
     * 菜单名称
     */
    private String title;

    /**
     * 链接地址(vue文件名称)
     */
    private String url;

    /**
     * 文件路径
     */
    private String path;

    /**
     * 排序
     */
    private String sort;

    /**
     * 父类菜单ID
     */
    @TableField("parentId")
    private Integer parentId;

    /**
     * 菜单图标
     */
    private String ico;

    /**
     * 是否为外链
     */
    @TableField("is_outSide")
    private String isOutside;

    /**
     * 菜单等级
     */
    private String showLevel;

    /**
     * 描述
     */
    private String description;


}
